package org.zanateh.wargame.graphics;

import org.zanateh.wargame.game.events.IMoveRejectedEventListener;
import org.zanateh.wargame.game.events.MoveRejectedEvent;

import android.content.Context;
import android.widget.Toast;

public class EventReporter implements IMoveRejectedEventListener {

	private final Context mContext;
	
	public EventReporter(Context context) {
		mContext = context;
	}
	
	@Override
	public void moveRejected(MoveRejectedEvent event) {
		Toast.makeText(mContext, event.getRejectedMessage(), Toast.LENGTH_SHORT).show();
	}
	
}
